package com.hospital.hms.service;

import com.hospital.hms.utils.PageUtils;
import com.hospital.hms.pojo.MedicalDept;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

public interface MedicalDeptService {
    PageUtils selectConditionByPage(Map<String,Object> map);
    void insert(MedicalDept entity);
    HashMap selectById(int id);

    void update(MedicalDept medicalDept);


    void deleteByIds(Integer[] ids);
    ArrayList<HashMap> selectAllDeptNameAndId();
    LinkedHashMap<String,ArrayList<HashMap<String,Object>>> selectDeptAndSub();
}
